package com.itlxd.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itlxd.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itlxd.vo.OrderVO;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-12-25
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    IPage<OrderVO> getOrderWithOrderDetail(Page<?> page, Long userId);
}
